import Vue from 'vue'
import App from './App.vue'
import router from '@/router/index'
import store from "@/store";
import VueRouter from "vue-router";
import Button from 'ant-design-vue/lib/button'
import 'ant-design-vue/dist/antd.css'
import AntDesignVue from 'ant-design-vue'
import VueSession from "vue-session/index.esm";

Vue.use(VueSession)
Vue.use(VueRouter)
Vue.component(Button.name, Button)
Vue.use(AntDesignVue)
Vue.config.productionTip = false

new Vue({
    render: h => h(App),
    router,
    store,
    beforeCreate() {
        Vue.prototype.$bus = this    //安全事件总线
    }
}).$mount('#app')
